//
//  MHWebViewModel.m
// MiaoCircle
//
//Created by acgera on 2018/4/9.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHWebViewModel.h"

@implementation MHWebViewModel
- (instancetype)initWithServices:(id<MHViewModelServices>)services params:(NSDictionary *)params {
    self = [super initWithServices:services params:params];
    if (self) {
        self.request = params[MHViewModelRequestKey];
    }
    return self;
}

-(void)initialize
{
    [super initialize];
    
    
    self.shareCommand = [[RACCommand alloc] initWithSignalBlock:^RACSignal *(id input) {
        return [self.services.client getRewardActivityInfoWithCircleId:[AXAppDelegate sharedDelegate].currentCircleInfo.autoId] ;
       
    }];
}

@end

